package com.xiaoyu.awakening.records.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoyu.awakening.common.core.entity.DbBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户操作记数据表
 *
 * @author wangxiaoyu
 * @since v1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "t_server_logs")
public class AwkServerLogEntity extends DbBaseEntity {
    @TableId
    private Long id;
    private Long traceId;
    private Long spanId;
    private String tenantId;
    private String userId;
    private String serverName;
    private String interfaceName;
    private String contextPath;
    private String header;
    private String httpMethod;
    private String requestData;
    private String responseData;
    private int httpStatus;
    private String errorMessage;
    private String serverIp;
    private String clientIp;
    private String userIp;
    private String userAgent;
}
